package com.hzit.listener;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * 类名：
 * 作者：WF
 * 功能：
 */
@Component
@RabbitListener(queues = "longhua")
public class HzitFanoutListener03 {
	@RabbitHandler
	public void getMessage(String message){
		System.out.println("[龙华校区收到消息]:" + message);
	}
}
